package com.cqhilink.iot.jobstandardmanagement.facade.service.device;

import com.cqhilink.iot.jobstandardmanagement.facade.model.Device;
import com.cqhilink.iot.jobstandardmanagement.facade.model.DeviceValidateCycle;

import java.util.List;
import java.util.Map;

/**
 * Created by huangxueqian on 2017/8/8/008.
 * 校验周期新增 ， 和 删除
 */
public interface JsmDeviceValidateCycleService {

    /**
     * @param validateCycle
     * 新增周期
     */
    public Map<String,Object> insert(DeviceValidateCycle validateCycle) throws Exception ;

    /**
     * @param validateCycle
     * 删除周期
     */
    public Map<String,Object> delete(DeviceValidateCycle validateCycle) throws Exception ;

    /**
     * @param device 设备操作
     * 删除周期
     */
    public Map<String,Object> operateValidateCycle(Device device) throws Exception ;

    /**
     *  @param  deviceId 设备Id
     */
    public List<DeviceValidateCycle> queryDeviceValidateCycleList(String deviceId) throws Exception ;

}
